package com.xuecheng.api.learning.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 笔记
 * </p>
 *
 * @author itcast
 */
@Data
@ApiModel(value="NoteDTO", description="笔记")
public class NoteDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long noteId;

    @ApiModelProperty(value = "创建人")
    private String username;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "课程计划标识")
    private Long teachplanId;

    private Long courseId;

    private Long coursePubId;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "是否公开")
    private Integer isPublic;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime changeDate;


}
